taking user inputs